﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace OhioState.Controls
{
    public partial class OpenVolumeFilesBatchProgressWindow : Form
    {
        public OpenVolumeFilesBatchProgressWindow()
        {
            InitializeComponent();
        }

        public void SetNumberFiles(int numberFiles)
        {
            progressBar.Step = numberFiles;
            progressBar.Maximum = numberFiles + 1;
        }

        private void UpdateProgressBarDelegateImpl()
        {
            progressBar.Value += 1;
        }

        public void UpdateProgressBar()
        {
            progressBar.Value += 1;
        }
    }
}
